NOTE 1: This function works on Windows from FileMaker version 5. On Mac OS it works from FileMaker 4.0 and later. If you use it on Windows under a version earlier than FileMaker 5 an error code "$$-4215" (kErrInvalidFMPVersion) is returned.
NOTE 2: When a file is hosted with FileMaker Server it can not return the path, in thi
OBGs case it will return an error code "$$-43" (fnfErr = file not found).
Clear
Close Demo File
A open file
) = 2
Get Path to CurrentFile
A+This script will return the path of a file.B
|("TrFile-GetPathTo"
"-currentFileName |" &
) &"|"&
TrFile-GetPathTo
-currentFileName |
) = 1
2) <> "$$"
|("TrFile-FileSpec To FullPath"
TrFile-FileSpec To FullPath
-------------
|("TrFile-FileSpec To FullPath"
TrFile-FileSpec To FullPath
Helvetica
Geneva
Times New Roman
A2This script will get let the user select a folder.B